package org.millioncall.yueyoga.admin.model.base;

import java.util.List;

import org.millioncall.yueyoga.admin.model.Authority;

public abstract class BaseRole implements java.io.Serializable {
	private static final long serialVersionUID = 3360640877812261421L;
	private Integer id;
	private String name;
	private List<String> inherit;
	private Boolean enabled;
	private String description;
	private List<Authority> authorities;

	public BaseRole() {
	}

	public BaseRole(String name, Boolean enabled) {
		this.name = name;
		this.enabled = enabled;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getInherit() {
		return inherit;
	}

	public void setInherit(List<String> inherit) {
		this.inherit = inherit;
	}

	public Boolean getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public List<Authority> getAuthorities() {
		return authorities;
	}

	public void setAuthorities(List<Authority> authorities) {
		this.authorities = authorities;
	}
}